using System.Collections;
using System.Collections.Generic;
using UnityEngine;

/// <summary>
/// 一个泛型中间类
/// </summary>
/// <typeparam name="T">要获取的View</typeparam>
public abstract class GameDialog<T> : BaseDialog, IUIBridge where T : BaseView
{
    protected T View;

    public void SetView(BaseView view)
    {
        View = view as T;
    }

    /// <summary>
    /// Update有时候不必要运行，这里 
    /// </summary>
    public override void OnUpdate(float deltaTime)
    {

    }
}
